
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.dto.admin;

import com.hlkj.pay.infrastructure.model.admin.PermissionDO;
import com.hlkj.pay.infrastructure.model.admin.RoleDO;
import com.hlkj.pay.infrastructure.model.admin.RolePermissionMappingDO;
import lombok.Data;

import java.util.List;

/**
 * @author HlpayTeam
 * @date 2024/09/02 10:02
 */
@Data
public class UserPermissionDto {
    /**
     * 是否admin
     */
    private boolean            adminRoleFlag;
    /**
     * 角色信息
     */
    private List<RoleDO>       roleList;
    /**
     * 权限信息
     */
    private List<PermissionDO> permissionList;
    /**
     * 权限mapping
     */
    private List<RolePermissionMappingDO>       rolePermissionList;
}
